package com.newy.domain.misc;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.newy.core.hibernate.IdEntity;

/**
 * FAQ类型实体类
 * @author linzongxue 2012-2-19
 *
 */
@Entity
@Table(name="misc_fqa_type")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class FqaType extends IdEntity {
	private Long parentId;
	private String parentIdPath;
	private String name;
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	public String getParentIdPath() {
		return parentIdPath;
	}
	public void setParentIdPath(String parentIdPath) {
		this.parentIdPath = parentIdPath;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}